import request from '@/utils/request'

// 查询车位区域号
export function getListPlaternumber(query){
  return request({
    url: '/system/entering/list',
    method: 'get',
    params: query
  })
}

// 图片提交，获取车牌号
export function getPlaternumber(file){
  return request({
    url: '/system/platenumber/upload-platenumber',
    method: 'post',
    params: file,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}
